﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ERP_RORZE_TOOL.Common.ValueObject;
using ERP_RORZE_TOOL.DBAccess;

namespace ERP_RORZE_TOOL.BizLogic
{
	public class ReportHelper
	{

		#region ValueObject


        public DataTable GetAll(string procedure)
		{
            DataTable dt = ReportDAO.GetAll(procedure);
			return dt;
		}

        public DataTable GetAll(string procedureName, string tempTableName)
		{
            DataTable dt = ReportDAO.GetAllWithTempTable(procedureName, tempTableName);
			return dt;
		}

        public DataTable GetAll(string procedureName, int range)
		{
            DataTable dt = ReportDAO.GetAll(procedureName, range);
			return dt;
		}

        public DataSet GetAllDS(string procedure)
		{
            DataSet ds = ReportDAO.GetAllDS(procedure);
			return ds;
        }

        #endregion
    }
}
